/**
 * 接口域名的管理
 * @param {String} apiServer [api服务器]
 * @param {String} knobbleServer [小节内容上传服务器]
 */
const baseLsit = [
  {
    apiServer: "http://10.0.30.194:3001/api",
    knobbleServer: "http://10.0.30.117/section",
  },
  {
    apiServer: "https://test.wktest.cn:3001/api",
    knobbleServer: "http://10.0.30.109/section",
  },
];

const ServerNumber = import.meta.env.VITE_APP_SERVER_ID
  ? import.meta.env.VITE_APP_SERVER_ID
  : 0;
// const ServerNumber = 1;
const baseUrl = baseLsit[ServerNumber];

export default baseUrl;
